package com.baiku.sanhos.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.DateFormat;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.io.Serializable;
import java.util.Date;

/**
 * @author ruoLi
 */
@Data
@Document(indexName = "doctorsource")
public class DoctorSourceVo implements Serializable {
    @Id
    private Integer id;
    /**
     * 医生工号
     */
    private String doctorNo;
    /**
     * 医生姓名
     */
    private String nickname;
    /**
     * 姓名 1 男 0 女
     */
    private Integer gender;
    /**
     * 科室id
     */
    @Field(type = FieldType.Text, analyzer = "ik_smart", searchAnalyzer = "ik_smart")
    private Integer dept;
    /**
     * 科室名称
     */
    private String deptname;
    /**
     * 排班日期
     */
//    @Field( type = FieldType.Text,pattern = "yyyy-MM-dd",analyzer = "ik_smart", searchAnalyzer = "ik_smart")
    private String schedulTime;
    /**
     * 天总号源
     */
    private Integer sourcetotal;
    /**
     * 开始时间
     */
//    @Field( type = FieldType.Text,pattern = "HH:mm:ss")
    private String frameTime;
    /**
     * 结束时间
     */
//    @Field( type = FieldType.Text,pattern = "HH:mm:ss")
    private String endTime;
    /**
     * 剩余号源
     */
    private Integer sourcesurplus;
    /**
     * 科室挂号费用
     */
    private Double expenses;
    /**
     * 号源编号
     */
    private Integer sourceId;
    /**
     * 职称
     */
    private String jobTitle;
    /**
     * 简介
     */
    private String brief;

}
